package Hongbao;

import java.util.ArrayList;

public class RedDemo {
    public static void main(String[] args) {
        Manager m=new Manager("群主",100);
        Member n1=new Member("叶子",0);
        Member n2=new Member("猪",0);
        Member n3=new Member("梁正",0);
        m.show();
        n1.show();
        n2.show();
        n3.show();
        System.out.println("============");
        ArrayList<Integer> redlist=m.send(100,3);
        n1.receive(redlist);
        n2.receive(redlist);
        n3.receive(redlist);
        m.show();
        n1.show();
        n2.show();
        n3.show();




    }
}
